<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head>
	<link type="text/css" rel="stylesheet" href="#{request.contextPath}/resources/css/styles.css" />
	<title>HomePage Cliente</title>
</h:head>

<h:body>
<div id="header">
	<ui:include src="/resources/snippets/headerCliente.xhtml"></ui:include>
</div>
	<h1> Benvenuto Cliente!</h1>
	<h:outputText value="HomePage personale di #{datiUtente.getNomeCliente()}" />
	<br/>
	<br/>
	<h:link outcome="cercaPacchetto" value="Cerca Pacchetto Predefinito"></h:link> <br/>
	<br/>
	<h:form>
		<h:commandLink action="#{pacchetto.findVetrina()}" value="Mostra pacchetti in vetrina"  /> <br/>
	</h:form>
	<br/>
	<br/>
	<h:form>
		<h:commandLink action="#{prenotazione.findPropriePrenotazioni(datiUtente.nomeCliente)}" value="Mostra proprie prenotazioni"  /> <br/>
	</h:form>
	<br/>
	<h:form>
		<h:commandLink action="#{invito.findPropriInviti(datiUtente.nomeCliente)}" value="Mostra propri inviti"  /> <br/>
	</h:form>
	<br/>
	<br/>
	<h:form>
		<h:commandLink action="#{datiUtente.mostraDatiPersonali()}" value="Mostra dati personali" /> <br/>
	</h:form>
	<br/>
	<br/>
	<br/>
<div id="footer">
	<ui:include src="/resources/snippets/footer.xhtml"></ui:include>
</div>
</h:body>

</html>